export function chooseAddress(){
    return new Promise((resolve,reject)=>{
        wx.chooseAddress({
            success:(res)=>{
                resolve(res)
            },
            fail:(err)=>{
                reject(err)
            }
        })
    })
}


export function showToast({title}){
  return new Promise((resolve,reject)=>{
    wx.showToast({
        title:title,
        icon:'none'
    })
  })
}